package com.zhengsanming.mapper;

import com.zhengsanming.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {

    User selectAll(User user);

    //注册事务
    void insertUser(User user);

    //查找用户是否存在
    User selectByUsername(String username);

}
